import $http from '@/assets/js/http'

//提交用户反馈
export function getFeedback(token,content){
    return $http.post('/app/suggestion/add',{
        token:token,
        content:content
    })
}

//修改密码
export function getAmendPwd(token,oldPwd,newPwd){
    return $http.post('/app/user/pwd',{
        token:token,
        oldPwd:oldPwd,
        newPwd:newPwd
    })
}

//消息列表
export function getNotifyList(token,pageIndex,pageSize){
    return $http.post('/app/message/list',{
        token:token,
        pageIndex:pageIndex,
        pageSize:pageSize
    })  
}